<!DOCTYPE html>
<html lang="en">
<#include "../common/base.html" />
<@head "新建用户" />
<body class="nav-md">
<div class="container body">
  <div class="main_container">
    <#include "../common/sidebar.html" />
    <#include "../common/topbar.html" />

    <div class="right_col" role="main">

      <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
          <div class="x_panel">
            <div class="x_title">
              <h2>新增用户
                <small>下方填写新用户信息</small>
              </h2>
              <div class="clearfix"></div>
            </div>

            <div id="warn-msg" class="alert alert-info" role="alert"
            <#if !msg?exists> style="display:none" </#if> >
               <#if msg?exists> ${msg} </#if>
            </div>

            <div class="x_content">
              <br/>
              <form id="create-form" data-parsley-validate class="form-horizontal form-label-left"
                action="" method="post">

                <div class="form-group">
                  <label class="control-label col-md-3 col-sm-3 col-xs-12" for="account">用户名 <span
                          class="required">*</span>
                  </label>
                  <div class="col-md-6 col-sm-6 col-xs-12">
                    <input type="text" id="account" required="required"
                           class="form-control col-md-7 col-xs-12" name="account">
                  </div>
                </div>
                <div class="form-group">
                  <label class="control-label col-md-3 col-sm-3 col-xs-12" for="password">密码<span
                          class="required">*</span>
                  </label>
                  <div class="col-md-6 col-sm-6 col-xs-12">
                    <input type="password" id="password" name="password" required="required"
                           class="form-control col-md-7 col-xs-12">
                  </div>
                </div>
                <div class="form-group">
                  <label for="repeat-password" class="control-label col-md-3 col-sm-3 col-xs-12">
                    重复密码 <span class="required">*</span>
                  </label>
                  <div class="col-md-6 col-sm-6 col-xs-12">
                    <input id="repeat-password" class="form-control col-md-7 col-xs-12" type="password"
                           name="repeatPassword">
                  </div>
                </div>
                <div class="form-group">
                  <label class="control-label col-md-3 col-sm-3 col-xs-12">性别</label>
                  <div class="col-md-6 col-sm-6 col-xs-12">
                    <div id="gender" class="btn-group" data-toggle="buttons">
                      <label class="btn btn-default" data-toggle-class="btn-primary"
                             data-toggle-passive-class="btn-default">
                        <input type="radio" name="gender" value="male"> &nbsp; 男 &nbsp;
                      </label>
                      <label class="btn btn-primary" data-toggle-class="btn-primary"
                             data-toggle-passive-class="btn-default">
                        <input type="radio" name="gender" value="female"> 女
                      </label>
                    </div>
                  </div>
                </div>
                <div class="form-group">
                  <label class="control-label col-md-3 col-sm-3 col-xs-12"> 邮箱 <span
                          class="required">*</span>
                  </label>
                  <div class="col-md-6 col-sm-6 col-xs-12">
                    <input id="email" class="date-picker form-control col-md-7 col-xs-12"
                           required="required" type="text" name="email">
                  </div>
                </div>
                <div class="ln_solid"></div>
                <div class="form-group">
                  <div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
                    <button class="btn btn-primary" onclick="window.resetForm()">重置</button>
                    <input type="submit" class="btn btn-success" value="创建" />
                  </div>
                </div>

              </form>
            </div>
          </div>
        </div>
      </div>

      <br/>

    </div>
  </div>
</div>


<@dep [] />
<script src="/js/packages/require.js" data-main="/js/user/create"></script>


</body>
</html>

